package com.tourlaid.mamagerment.service

import com.tourlaid.mamagerment.entity.Shop

/**
 * Created by xiaoyongge on 2017/7/21.
 */
interface ShopService {

    fun queryForList(): List<Shop>?

    fun insert(shopName: String?)

    fun getByName(shopName: String?): Shop?

    fun getById(id: Long?): Shop?

    fun update(id: Long?, shopName: String?)

    fun queryByIdList(idList: List<Long?>): List<Shop>

    fun  delete(id: Long?)

    fun  queryAllShop(): List<Shop>
}